home *** CD-ROM | disk | FTP | other *** search
/ Java 1996 August / Java - Summer 1996.iso / kaffe-0.2 / kaffe / gtypes.h < prev    next >
C/C++ Source or Header  |  1996-02-11  |  773b  |  41 lines

  1. /*
  2.  * gtypes.h
  3.  * General types.
  4.  *
  5.  * Copyright (c) 1996 Systems Architecture Research Centre,
  6.  *           City University, London, UK.
  7.  *
  8.  * See the file "license.terms" for information on usage and redistribution
  9.  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  10.  *
  11.  * Written by Tim Wilkinson <tim@sarc.city.ac.uk>, February 1996.
  12.  */
  13.  
  14. #ifndef __gtype_h
  15. #define __gtype_h
  16.  
  17. typedef    unsigned char        uint8;
  18. typedef    unsigned short        uint16;
  19. typedef    unsigned int        uint32;
  20. typedef    unsigned long long    uint64;
  21.  
  22. typedef    char            int8;
  23. typedef    short            int16;
  24. typedef    int            int32;
  25. typedef    long long        int64;
  26.  
  27. typedef uint32            uintp;
  28.  
  29. typedef enum _bool {
  30.     false    = 0,
  31.     true    = 1,
  32. } bool;
  33.  
  34. typedef uint8            u1;
  35. typedef uint16            u2;
  36. typedef uint32            u4;
  37.  
  38. typedef    u1            nativecode;
  39.  
  40. #endif
  41.